
{$header}<div id="main" class="main" >
    <div class="content">
  <h3 class="heading">编辑退货记录 [ <a href="__URL__">返回列表</a> ]</h3>
<div id="result" class="result none"></div>
<form class="form-horizontal well" method='post' id="form1" action="__URL__/update/">
<table cellpadding=3 cellspacing=3 >
<tr>
	<td class="tRight" >退货单号：</td>
	<td class="tLeft" >
            {$vo.sale_back_no} 
        </td>
</tr>
    <tr>
	<td class="tRight" >销售单号：</td>
	<td class="tLeft" >
            {$vo.sale_id|getModelName=Sale,sale_no}  &nbsp;&nbsp; 仓库:{$vo.sale_id|getModelName=Sale,warehouse_id|getModelName=Warehouse}
        </td>
</tr>
<tr>
	<td class="tRight" >备注：：</td>
	<td class="tLeft" >
            {$vo.sale_back_id|getModelName='Sale_back',remark}
        </td>
</tr>
<tr>
	<td class="tRight" >经办人：</td>
	<td class="tLeft" >
            {$vo.enter_id|getModelName=Enter,user_id|getModelName=User}&nbsp;&nbsp; &nbsp;&nbsp;创建时间：{$vo.create_time|toDate}
        </td>
</tr>
<tr>
	<td class="tRight" >产品：</td>
	<td class="tLeft" >
            {$vo.product_id|getModelName=Product}
        </td>
</tr>
<tr>
	<td class="tRight" >生产批号：</td>
	<td class="tLeft" >
            <input type="text" value="{$vo.lot}" name="lot">
        </td>
</tr>
<load href="__PUBLIC__/Js/My97DatePicker/WdatePicker.js" />
<tr>
	<td class="tRight" >截止有效期：</td>
	<td class="tLeft" >
            <input type="text" value="{$vo.exp}" name="exp" onClick="WdatePicker()">
        </td>
</tr>
<tr>
	<td class="tRight" >售价：</td>
	<td class="tLeft" >
             <input type="text" value="{$vo.price}" name="price">元
        </td>
</tr>
<tr>
	<td class="tRight" >数量：</td>
	<td class="tLeft" >
            <input type="text" value="{$vo.number}" name="number"> &nbsp;{$vo.product_id|getProductUnit}
        </td>
</tr>
<tr>
	<td class="tRight" >价格：</td>
	<td class="tLeft" >
            <input type="text" name="price" value="{$vo.price}">元
        </td>
</tr>
<tr>
	<td class="tRight" >顾客：</td>
	<td class="tLeft" >
            <input type="hidden" name="customer_id" value="{$vo.customer_id}">{$vo.customer_id|getModelName=Customer}
        </td>
</tr>
<tr>
	<td class="tRight" >退货原因：</td>
	<td class="tLeft" >
            <input type="text" name="reason" value="{$vo.reason}">
        </td>
</tr>
<tr>
	<td></td>
	<td class="center" width="300">
        <input type="hidden" value="{$vo.id}" name="id">
	<button type="submit" class="btn btn-primary"><i class="icon-ok icon-white"></i> 保存</button>
	<button type="reset" onclick="javascript:history.back()" class="btn btn-primary offset1"><i class="icon-arrow-left icon-white"></i> 返回</button>
	</td>
</tr>
</table>
</form>
</div>
</div>
